home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / ppm / ppmtoicr.man < prev    next >
Text File  |  1995-03-17  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      ppmtoicr(1)           AMIGA (30 July 1990)            ppmtoicr(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           ppmtoicr - convert a portable pixmap into NCSA ICR format
  10.  
  11.      SYNOPSIS
  12.           ppmtoicr [-windowname name] [-expand expand] [-display
  13.           display] [-rle] [ppmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable pixmap file as input.  Produces an NCSA
  17.           Telnet Interactive Color Raster graphic file as output.  If
  18.           ppmfile is not supplied, ppmtoicr will read from standard
  19.           input.
  20.  
  21.           Interactive Color Raster (ICR) is a protocol for displaying
  22.           raster graphics on workstation screens. The protocol is
  23.           implemented in NCSA Telnet for the Macintosh version 2.3.
  24.           The ICR protocol shares characteristics of the Tektronix
  25.           graphics terminal emulation protocol.  For example, escape
  26.           sequences are used to control the display.
  27.  
  28.           ppmtoicr will output the appropriate sequences to create a
  29.           window of the dimensions of the input pixmap, create a
  30.           colormap of up to 256 colors on the display, then load the
  31.           picture data into the window.
  32.  
  33.           Note that there is no icrtoppm tool - this transformation is
  34.           one way.
  35.  
  36.      OPTIONS
  37.           -windownamename
  38.                         Output will be displayed in name (Default is
  39.                         to use ppmfile or "untitled" if standard input
  40.                         is read.)
  41.  
  42.           -expandexpand Output will be expanded on display by factor
  43.                         expand (For example, a value of 2 will cause
  44.                         four pixels to be displayed for every input
  45.                         pixel.)
  46.  
  47.           -displaydisplay
  48.                         Output will be displayed on screen numbered
  49.                         display
  50.  
  51.           -rle          Use run-length encoded format for display.
  52.                         (This will nearly always result in a quicker
  53.                         display, but may skew the colormap.)
  54.  
  55.      EXAMPLES
  56.           To display a ppm file using the protocol:
  57.               ppmtoicr ppmfile
  58.           This will create a window named ppmfile on the display with
  59.           the correct dimensions for ppmfile, create and download a
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      ppmtoicr(1)           AMIGA (30 July 1990)            ppmtoicr(1)
  71.  
  72.  
  73.  
  74.           colormap of up to 256 colors, and download the picture into
  75.           the window. The same effect may be achieved by the following
  76.           sequence:
  77.               ppmtoicr ppmfile > filename
  78.               cat filename
  79.           To display a GIF file using the protocol in a window titled
  80.           after the input file, zoom the displayed image by a factor
  81.           of 2, and run-length encode the data:
  82.               giftoppm giffile | ppmtoicr -w giffile -r -e 2
  83.  
  84.      BUGS
  85.           The protocol uses frequent fflush calls to speed up display.
  86.           If the output is saved to a file for later display via cat,
  87.           drawing will be much slower. In either case, increasing the
  88.           Blocksize limit on the display will speed up transmission
  89.           substantially.
  90.  
  91.      SEE ALSO
  92.           ppm(5)
  93.  
  94.           NCSA Telnet for the Macintosh, University of Illinois at
  95.           Urbana-Champaign (1989)
  96.  
  97.      AUTHOR
  98.           Copyright (C) 1990 by Kanthan Pillay
  99.           (svpillay@Princeton.EDU), Princeton University Computing and
  100.           Information Technology.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/19/91)
  130.  
  131.  
  132.  
  133.